/*
 * @Author: czy
 * @Date: 2021-05-04 15:09:36
 * @LastEditTime: 2021-05-04 15:25:55
 */
#include "mytime.h"
#include "mystdio.h"

/**
 * @description: Test the time processing module.
 */
void test_time(void)
{
    myprintf("Current timestamp: %d\n", time());
    char temp[100];
    myprintf("Time format: %s\n", mystrftime(temp, "%Y-%m-%d %H:%M:%S", gmtime()));
}